package com.java.project.system.prov.domain;

import com.java.framework.aspectj.lang.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;

/**
 * 省对象 sys_prov
 * 
 * @author admin_wjz
 * @date 2019-10-29
 */
public class Prov implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 省id */
    private String id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .toString();
    }
}
